Package com.cisco.pt.ipc.sim
Interface SmtpClient
- All Known Implementing Classes:
SmtpClientImpl
Information provided by the PKI file:
\class SmtpClient
\brief SmtpClient handles and manipulates the SMTP client.
\example network().getDevice("PC0").getProcess("SmtpClient")
- Author:
- Auto-generated
-
Method Summary
Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Method Details
-
sendMail
boolean sendMail(String fromEmailId, String toEmailId, String subject, String contents, String password, String ipAddr) Information provided by the PKI file:
\brief This event is emitted when an email is sent. \param fromEmailId, the sender's email. \param toEmailId, the recipient's email. \param subject, tthe email subject. \param contents, the email contents. \param password, the smtp user password. \param ipAddr, the outgoing email server address- Parameters:
fromEmailId- Takes in a parameter of fromEmailIdtoEmailId- Takes in a parameter of toEmailIdsubject- Takes in a parameter of subjectcontents- Takes in a parameter of contentspassword- Takes in a parameter of passwordipAddr- Takes in a parameter of ipAddr- Returns:
- boolean Returns a boolean
-
cancelSend
void cancelSend()Information provided by the PKI file:
\brief Intervene with mail sending
-